<?php

namespace Modules\Shop\Transformers;

use Illuminate\Http\Resources\Json\JsonResource;

class OrderResource extends JsonResource
{
    public function toArray($request)
    {
        return parent::toArray($request) + [
            'goods' => $this->goods
        ];
    }
}
